﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/UserHome.Master" CodeBehind="List.aspx.vb" Inherits="LEAD.List" 
    title="List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <tr>
<td>
    <form id="form1" runat="server">
    <tr>
        <td>
            <table style="width: 100%">
                <tr>
                    <td align="center" style="width: 228px">
                        <h3>Rss Feed</h3></td>
                    <td align="center">
                        <h3>List of Activities</h3>
                        
                        </td>
                </tr>
                <tr>
                    <td style="width: 228px">
                    
                    
 <table align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="text-align:center; height:100px">
     <asp:HyperLink  runat="server" 
         NavigateUrl="~/RssFeed.aspx" CssClass="rsshyp" Font-Size="Large">RSS for Lead</asp:HyperLink>
    <img alt="RssImage" src="Images/rss.jpg" style=" height:100px; width: 100px; vertical-align:bottom;" />
</td>
</tr>
<tr>
<td>
<%--<asp:GridView runat="server" AutoGenerateColumns="False" 
        CssClass="rssGclass" GridLines="None" AllowPaging="True" 
      DataKeyNames="ActionID"   DataSourceID="SqlDataSource2" AllowSorting="True">
    <Columns>
    <asp:HyperLinkField DataNavigateUrlFields="ActionID" 
            DataNavigateUrlFormatString="Details.aspx?ActionID={0}" 
            DataTextField="Title" HeaderText="Title" 
            SortExpression="Title" >
            <ControlStyle Width="200px" />
            <HeaderStyle Width="200px" />
            <ItemStyle HorizontalAlign="Center" />
        </asp:HyperLinkField>
        <asp:ImageField DataImageUrlField="Image" HeaderText="Image">
            <ControlStyle CssClass="rssthumbimg" Width="50px" />
            <HeaderStyle Width="50px" />
            <ItemStyle HorizontalAlign="Center" />
        </asp:ImageField>
    
      </Columns>


</asp:GridView>--%>
    <%--<asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
        SelectCommand="SELECT [ActionID], [Title], [Image] FROM [MasterTable]">
    </asp:SqlDataSource>--%>
        <iframe src="http://go.microsoft.com/fwlink/?linkid=84795&clcid=409" height="700px" 
            align="middle" style="width: 410px"></iframe>
</td>
</tr>
</table>
                    </td>
                    <td align="center">
                        
                        
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            DataSourceID="SqlDataSource1"   CssClass="ListGridThumbnail" Width="353px" >
                            <Columns>
                                <asp:BoundField DataField="ActionID" HeaderText="ID" 
                                    SortExpression="ActionID" />
                                <asp:BoundField DataField="AddedDate" HeaderText="AddedDate" 
                                    SortExpression="AddedDate" />
                                <asp:BoundField DataField="UserName" HeaderText="UserName" 
                                    SortExpression="UserName" />
                                <asp:BoundField DataField="TypeName" HeaderText="TypeName" 
                                    SortExpression="TypeName" />
                                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                                <asp:ImageField DataImageUrlField="Image" HeaderText="Images" ControlStyle-CssClass="ListGridThumbnail">
<ControlStyle CssClass="ListGridThumbnail"></ControlStyle>
                                </asp:ImageField>
                                <asp:HyperLinkField DataNavigateUrlFields="ActionID" 
                                    DataNavigateUrlFormatString="Details.aspx?ActionID={0}" HeaderText="Details" 
                                    Text="More Details" />
                            </Columns>
                        </asp:GridView>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                            ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" SelectCommand="SELECT MasterTable.ActionID, aspnet_Users.UserName, Type.TypeName, MasterTable.Title, MasterTable.Image, MasterTable.AddedDate
FROM aspnet_Users INNER JOIN (Type INNER JOIN MasterTable ON Type.[TypeID] = MasterTable.[TypeID_FK]) ON aspnet_Users.[UserID] = MasterTable.[UserID_FK];
"></asp:SqlDataSource>
                        
                        
                        </td>
                </tr>
            </table>
        </td>
    </tr>
    </form>
</td></tr>
</asp:Content>
